package com.example.dangerouscargodriver.ui.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.baiju.netmanager.Http.IHttpRequest;
import com.example.dangerouscargodriver.R;
import com.example.dangerouscargodriver.controller.AuthController;
import com.example.dangerouscargodriver.param.RemoteAPI;
import com.example.dangerouscargodriver.param.RemoteAPICmd;
import com.example.dangerouscargodriver.utils.TextUtils;
import com.example.dangerouscargodriver.widget.ActionBar;

import java.util.HashMap;

public class ChangeCardInfoActivity extends HttpRequestActivity implements View.OnClickListener {

    private Button mChangeCardInfoAction = null;
    private ActionBar mActionBar = null;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        super.initHttpComponent(ChangeCardInfoActivity.class);
        setContentView(R.layout.activity_change_card_info);

        mChangeCardInfoAction = findViewById(R.id.btn_change_card_info);
        mActionBar = findViewById(R.id.actionBarUserChangeCardInfo);
        mActionBar.setOnBackClickListener( new View.OnClickListener(){
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

    @Override
    protected void onHttpResponse(int actionId, String response) {

    }

    @Override
    protected void onHttpErrorResponse(int actionId, String response) {

    }

    private void executeChangeCardInfo(){

    }

    @Override
    public void onClick(View v) {
        if(v.getId() == R.id.btn_change_card_info){
            executeChangeCardInfo();
        }
    }
}